<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2019/11/6
  Time: 15:55
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@taglib prefix="f" uri="http://java.sun.com/jsp/jstl/fmt" %>
<html>
<head>
    <title>Title</title>
    <script type="text/javascript" src="js/jquery-1.8.2.js"></script>
</head>

<body>

    <center>

        <table border="1" rules="all">
            <tr align="center" bgcolor="cyan">
                <td>订单编号</td>
                <td>下单时间</td>
                <td>订单价格</td>
                <td>订单状态</td>
                <td>操作</td>
            </tr>
            <c:forEach var="o" items="${list}">
                <tr align="center" bgcolor="#ffc0cb">
                    <td>
                        ${o.oid}
                    </td>
                    <td>
                            <f:formatDate value="${o.otime}" pattern="yyyy-MM-dd HH:mm:ss"></f:formatDate>
                            </td>
                    <td>${o.toprice}</td>
                    <td>${o.ostatus}</td>
                    <td></td>
                </tr>
            </c:forEach>
        </table>

    </center>
</body>
</html>
